﻿using System;
using System.Diagnostics;

namespace TireService.Web
{
    /// <summary>
    /// Summary description for Job.
    /// </summary>
    public class Job
    {
        public string Title;
        public DateTime ScheduledExecutionTime;

        public Job(string title, DateTime executionTime)
        {
            this.Title = title;
            this.ScheduledExecutionTime = executionTime;
        }

        public void Execute()
        {
            Debug.WriteLine("Executing job at: " + DateTime.Now);
            Debug.WriteLine(this.Title);
            Debug.WriteLine(this.ScheduledExecutionTime);
        }
    }
}